﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Xml.Serialization;
using Microsoft.Office.Interop.Excel;
using MVVM.Core;
using System.ComponentModel;

namespace ObjectModel.Excel
{
    public interface IOfflineRange : ISerializableRange, INotifyPropertyChanged
    {
        Worksheet Worksheet { get; set; }

        Workbook Workbook { get; set; }
        
        // Allows for marking of the source workbook as having been opened programmatically
        // and therefore to be closed by the controlling operation.
        //[XmlIgnore]
        //bool WorkbookOpenedProgrammatically { get; }
    }
}
